import Axios from 'axios'
const httpmaker = Axios.create(
  {
    baseURL: 'http://127.0.0.1:8000/',
    Headers: {
      // 解决cors头问题
      'Access-Control-Allow-Origin': '*',
      // 解决session问题
      'Access-Control-Allow-Credentials': 'true'
    }
  }
)
export default httpmaker
